class Homework():

    # def add_up_to(stat, sop, set=1):
    #     result = 0
    #     for i in range(stat, sop, set):
    #         result = result + i
    #     print(f'他们的和为：{result}')


    def exact_division():
        # 能被X整除，又能被Y整除，这些数形成一个列表
        result = []
        for i in range(1, 101):
            if i % 3 == 0 and i % 5 != 0:
                result.append(i)
        print(f'他们为：{result}')


    def Carry_water(self,stat,sop,set):
        self.count = 0
        for i in range(stat,sop,set):
            if i <= 50 - 15:
                mu=self.count = self.count + 1
        # print(f'需要：{self.count}次挑满')

            # print('mu')

hw=Homework

counts=hw.Carry_water(0,50,4)
print('counts')


